x86/dom0: support bzip2 and lzma compressed bzImage payloads
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Nov 2009 07:52:27 +0000 (07:52 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Nov 2009 07:52:27 +0000 (07:52 +0000)
commitab77e81f6521e97ac2fe2218013d5871a893db0f
treeb9a2ce5ef8aa85c01c304eeea6ae6c965dda2947
parent14ec087884b13aa9de838ab11fd4e67e255d4ded
x86/dom0: support bzip2 and lzma compressed bzImage payloads

This matches functionality in the tools already supporting the same
for DomU-s.

Code taken from Linux 2.6.32-rc and adjusted as little as possible to
be usable in Xen.

The question is whether, particularly for non-Linux Dom0-s, plain ELF
images compressed by bzip2 or lzma should also be supported.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/bzimage.c
xen/common/Makefile
xen/common/bunzip2.c [new file with mode: 0644]
xen/common/decompress.c [new file with mode: 0644]
xen/common/decompress.h [new file with mode: 0644]
xen/common/unlzma.c [new file with mode: 0644]
xen/include/xen/decompress.h [new file with mode: 0644]